<#include "/WEB-INF/default/fragment/header.ftl">
<body>
<style type="text/css">
.ch-clazzlist { margin: 50px auto; }
.ch-clazzlist ul, .ch-clazzlist li { margin: 0px; padding: 0px; list-style: none; }
.ch-clazzlist > ul > li { width: 50%; border: 1px solid #ccc; box-sizing: border-box; position: relative; }
.ch-clazzlist > ul > li:nth-child(2n) { border-left: none; }
/*.ch-clazzlist > ul > li:nth-child(2n+1):after { content: '+'; position: absolute; right: 0px; bottom: 0px; }*/
.ch-clazzlist > ul > li:nth-child(n+3) { border-top: none; }
.ch-clazzlist > ul > li:last-child { border-right: 1px solid #ccc; }
.ch-clazzlist-item { display: block; padding: 10px;  }
.ch-clazzlist-item:hover .ch-clazzlist-item-team > a { color: #d00e31; }
.ch-clazzlist-item-manager { color: #999; margin-top: 10px; }
.ch-clazzlist-item-team > label { font-size: 12px; }
</style>

<#include "/WEB-INF/default/fragment/nav.ftl">

<div class="container">
  <div align="center"><img src="${request.contextPath}/assets/images/logo.png" alt=""></div>

  <div class="ch-clazzlist">
    <ul class="clearfix">
      <!-- 列表显示区域 -->
      <#list teams as team>
      <li class="pull-left">
          <div class="ch-clazzlist-item" data-startat="">
              <div class="ch-clazzlist-item-team clearfix">
                  <a class="pull-left" href="${request.contextPath}/team-${team.subdomain}.action">${team.name}</a>
                  <label class="pull-right">${(team.gmtBegin*1000)?number_to_date?string("yyyy-MM-dd") }</label>
              </div>
              <div class="ch-clazzlist-item-manager" href="">${team.desc}（<@team_process team.gmtBegin team.gmtEnd />）</div>
              <div class="ch-clazzlist-item-process"></div>
          </div>
      </li>
      </#list>
    </ul>
  </div>

  <div class="ch-clazzlist">
    <a href="${request.contextPath}/team-post.action">创建团队</a>
  </div>

  <div class="ch-clazzlist">
    <a style="color: #999;" href="http://172.16.1.55/limesurvey/">满意度调查</a>
  </div>

</div>

</body>
<#include "/WEB-INF/default/fragment/footer.ftl">
